<?php /* Smarty version 2.6.18, created on 2010-03-11 10:12:52
         compiled from dataFMA_table.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'dataFMA_table.tpl', 12, false),)), $this); ?>
<div id="pageNavPosition" style="color:#84b5cc" width="100%"></div>
<table width="100%" id="results">
	<tr bgcolor="#cccccc">
		<td width="5%"></td>
		<td width="5%" align="center"><label><b>Delete</b></label></td>
		<td><label><b>Name</b></label></td>
		<td><label><b>Country</b></label></td>
		<td><label><b>Province</b></label></td>
		<td><label><b>Organization Type</b></label></td>
	</tr>
	<?php $_from = $this->_tpl_vars['results']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['result']):
?>
		<tr class="<?php echo smarty_function_cycle(array('values' => "blue,notify"), $this);?>
">
			<td width="5%" align="center"><input type="button" value="Edit" onclick="edit_item(<?php echo $this->_tpl_vars['result']['id']; ?>
);"></td>
			<td width="5%" align="center"><input type="checkbox" value="1" name="del_<?php echo $this->_tpl_vars['result']['id']; ?>
"></td>
			<td><label><?php echo $this->_tpl_vars['result']['name']; ?>
</label></td>
			<td><label><?php echo $this->_tpl_vars['result']['country']; ?>
</label></td>
			<td><label><?php echo $this->_tpl_vars['result']['province']; ?>
</label></td>
			<td><label><?php echo $this->_tpl_vars['result']['org_type']; ?>
</label></td>
		</tr>
	<?php endforeach; endif; unset($_from); ?>
</table>
<script type="text/javascript"><!--
        var pager = new Pager('results', 10); 
        pager.init(); 
        pager.showPageNav('pager', 'pageNavPosition'); 
        pager.showPage(1);
</script>
	
	